<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:icecore="http://www.icefaces.org/icefaces/core"
      xmlns:ace="http://www.icefaces.org/icefaces/components"
      xmlns:ice="http://www.icesoft.com/icefaces/component"
      >
    <h:head>
        <title>Busca Livro</title>
        <link rel="stylesheet" type="text/css" href="./xmlhttp/css/rime/rime.css"/>
    </h:head>
    <h:body styleClass="ice-skin-rime">
        <h:form id="form">
            <h:outputText value="Busca de Livros"/>
            <ice:outputConnectionStatus/>
            <br/>
            Livro ID: <ice:inputText value="#{buscaLivro1Bean.livro_id}" required="true"/>
            <ice:commandButton value="Buscar" action="#{buscaLivro1Bean.buscaLivro()}"/>
            <br/>
            Título: <ice:inputText value="#{buscaLivro1Bean.titulo}"/> <br/>
            Autor: <ice:inputText value="#{buscaLivro1Bean.autor}"/> <br/>
            Capa: <ice:graphicImage value="#{buscaLivro1Bean.capa}"/>
        </h:form>
    </h:body>
    <h:outputStylesheet library="org.icefaces.component.skins" name="rime.css" />
</html>